import Vue from 'vue'
import App from './App.vue'
import router from './router'

import 'amfe-flexible'
// import './utils/pxToRemGloable'
import './utils/resize'

import VantGreen from 'vant-green'
import 'vant-green/lib/index.css'

import toRem from './utils/toRem'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.prototype.$toRem = toRem

Vue.use(VantGreen)
Vue.use(ElementUI)

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
